package com.xiaoshuidi.cloud.module.member.controller.app.coupon.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/*
 * @description: 有效的优惠券查询vo
 * @author: Alex@ixiaoshuidi.com
 * @create: 2023-03-16 15:12
 */
@Data
public class CouponCustomerValidVo {

	/*
	* 优惠券是否可以叠加使用
	* */
	@Schema(description ="优惠券是否可以叠加使用")
	private Boolean flag=Boolean.FALSE;
	/*
	* 优惠后的金额
	* */
	@Schema(description ="优惠后的金额")
	private BigDecimal totalAmount;

	/*
	 * 优惠后的金额
	 * */
	@Schema(description ="总优惠金额")
	private BigDecimal totalCouponAmount=BigDecimal.ZERO;

	@Schema(description ="优券券集合")
	List<CouponCustomerValidQueryVo>  couponCustomerValidQueryVos;

}